<template>
  <li>
    <label>
      <span class="title">任务名称</span>
      <span class="date">任务设定日期</span>
      <span class="date">任务截止日期</span>
    </label>
  </li>
</template>

<script>

export default {
  name: 'TodoItem',
  props: ["todo"]
}
</script>
<style scoped>
li{
  list-style: none;
  height: 36px;
  line-height: 36px;
  padding: 0 5px;
  border-bottom: 1px solid #ddd;
}

li label {
  float:left;
  cursor: pointer;
}

li label li input{
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px;
}

li button{
  float: right;
  margin-top: 3px;
}

li:before{
  content: initial;
}

li:last-child{
  border-bottom: none;
}

span{
  display: inline-block; 
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}
.title{
  margin-left: 20px;
  width: 150px;
  text-align: center;
}
.date{
  width: 180px;
  text-align: center;
}

</style>